<?php

namespace app\vpn\validate;

use think\Validate;

/**
 * 商品验证器
 */
class Shop extends Validate
{
    //定义验证规则
    protected $rule = [
        'original|原价' => 'require|min:0.01|max:10000',
        'cash_day|平均每天多少钱' => 'require',
        'cash|金额' => 'require|min:0.01|max:10000',
        'day|续费天数' => 'require|min:1|max:10000',
    ];
    //定义验证提示
    protected $message = [];
    //定义验证场景
    protected $scene = [];
}
